package cn.zhentao.config;

import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;

/**
 * Common auto-configuration shared by multiple modules.
 *
 * Registered via META-INF/spring.factories for Spring Boot 2.x.
 * Keep it lightweight to avoid bean definition conflicts.
 */
@Configuration
@AutoConfigureOrder(Ordered.LOWEST_PRECEDENCE)
@ComponentScan(basePackages = {
        "cn.zhentao.common",
        "cn.zhentao.config"
})
public class CommonAutoConfiguration {
    // Intentionally empty. Acts as a hook to scan common/config packages.
}

